<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
function openForm(i){
	switch(i){
	case 1:
		window.open('/${initParam.context_root }/openMailWrite.do','mailWrite', 'width=1000px, height=700px');
		break;
	case 2:
		window.open('/${initParam.context_root }/openMailForRead.do','mailWrite', 'width=1000px, height=700px');
		break;
	case 3:
		window.open('/${initParam.context_root }/openMailPassWrite.do','mailWrite', 'width=1000px, height=700px');
		break;
	case 4:
		window.open('/${initParam.context_root }/openMailAddressBook.do','mailWrite', '');
		break;
	case 5:
		window.open('/${initParam.context_root }/openMailCubbyhole.do','mailWrite', '');
		break;
	case 6:
		window.open('/${initParam.context_root }/openMailRecycleBin.do','mailWrite', '');
		break;
	default:
		alert("잘못접근하셨습니다.");
		return ;
		break;
	}
}
</script>

<title>사내메일</title>
</head>
<body>
<center><br>
<table border="1px" cellpadding="5px" cellspacing="0px" style="border-style: solid; text-align: left;" width="180px" >
	<tr bgcolor="skyblue">
		<td><b> · 메일</b></td>
	</tr>
	<tr>
		<td><a href="javascript:openForm(1)">√ 메일쓰기</a></td>
	</tr>
	<tr>
		<td><a href="javascript:openForm(2)">√ 받은 메일함</a></td>
	</tr>
	<tr>
		<td><a href="javascript:openForm(3)">√ 보낸 메일함</a></td>
	</tr>
	<tr>
		<td><a href="javascript:openForm(4)">√ 개인 주소록</a></td>
	</tr>
	<tr>
		<td><a href="javascript:openForm(5)">√ 개인 보관함</a></td>
	</tr>
	<tr>
		<td><a href="javascript:openForm(6)">√ 휴지통</a></td>
	</tr>
</table><br>
<button onclick="window.close()">닫기</button>
</center>
</body>
</html>